/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.ufes.gpf.sgm.view;

import javax.swing.JMenuItem;

/**
 *
 * @author Danilo
 */
public class MenuView extends javax.swing.JFrame
{

    /**
     * Creates new form menuView
     */
    public MenuView()
    {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents()
    {

        jMenuItem3 = new javax.swing.JMenuItem();
        jPanel1 = new javax.swing.JPanel();
        jMenuBar1 = new javax.swing.JMenuBar();
        jMenu1 = new javax.swing.JMenu();
        mnuSair = new javax.swing.JMenuItem();
        jMenu2 = new javax.swing.JMenu();
        mnuCadMandados = new javax.swing.JMenuItem();
        mnuCadPessoas = new javax.swing.JMenuItem();
        jMenu3 = new javax.swing.JMenu();
        mnuListMandados = new javax.swing.JMenuItem();
        mnuListPessoas = new javax.swing.JMenuItem();

        jMenuItem3.setText("jMenuItem3");

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 279, Short.MAX_VALUE)
        );

        jMenu1.setText("Arquivo");

        mnuSair.setText("Sair");
        jMenu1.add(mnuSair);

        jMenuBar1.add(jMenu1);

        jMenu2.setText("Cadastrar");

        mnuCadMandados.setText("Mandados");
        jMenu2.add(mnuCadMandados);

        mnuCadPessoas.setText("Pessoas");
        jMenu2.add(mnuCadPessoas);

        jMenuBar1.add(jMenu2);

        jMenu3.setText("Listar");

        mnuListMandados.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_U, 0));
        mnuListMandados.setText("Mandados");
        jMenu3.add(mnuListMandados);

        mnuListPessoas.setAccelerator(javax.swing.KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_I, 0));
        mnuListPessoas.setText("Pessoas");
        jMenu3.add(mnuListPessoas);

        jMenuBar1.add(jMenu3);

        setJMenuBar(jMenuBar1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    
    

    public JMenuItem getMnuCadMandados()
    {
        return mnuCadMandados;
    }

    public void setMnuCadMandados(JMenuItem mnuCadMandados)
    {
        this.mnuCadMandados = mnuCadMandados;
    }

    public JMenuItem getMnuCadPessoas()
    {
        return mnuCadPessoas;
    }

    public void setMnuCadPessoas(JMenuItem mnuCadPessoas)
    {
        this.mnuCadPessoas = mnuCadPessoas;
    }

    public JMenuItem getMnuListMandados()
    {
        return mnuListMandados;
    }

    public void setMnuListMandados(JMenuItem mnuListMandados)
    {
        this.mnuListMandados = mnuListMandados;
    }

    public JMenuItem getMnuListPessoas()
    {
        return mnuListPessoas;
    }

    public void setMnuListPessoas(JMenuItem mnuListPessoas)
    {
        this.mnuListPessoas = mnuListPessoas;
    }

    public JMenuItem getMnuSair()
    {
        return mnuSair;
    }

    public void setMnuSair(JMenuItem mnuSair)
    {
        this.mnuSair = mnuSair;
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JMenu jMenu1;
    private javax.swing.JMenu jMenu2;
    private javax.swing.JMenu jMenu3;
    private javax.swing.JMenuBar jMenuBar1;
    private javax.swing.JMenuItem jMenuItem3;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JMenuItem mnuCadMandados;
    private javax.swing.JMenuItem mnuCadPessoas;
    private javax.swing.JMenuItem mnuListMandados;
    private javax.swing.JMenuItem mnuListPessoas;
    private javax.swing.JMenuItem mnuSair;
    // End of variables declaration//GEN-END:variables
}
